import { ApiProperty } from '@nestjs/swagger';

interface UserResData {
  page: number;
  limit: number;
  total: number;
  pageCount: number;
  list: any[];
}
export class UserListResDto {
  @ApiProperty({ example: '0', description: '状态码 0 为成功' })
  code: number;

  @ApiProperty({ example: 'success', description: '提示信息' })
  msg: string;

  @ApiProperty({
    example: '{page, limit, total, pageCount, list []}',
    description: '返回值',
  })
  data: UserResData;
}
